<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
</head>
<body>
<div id="app">
    <el-select v-model="value" placehoder="请选择">
        <el-option label="北京" value="bj"></el-option>
        <el-option label="上海" value="sh"></el-option>
        <el-option label="广州" value="gz"></el-option>
    </el-select>
    <h1>{{value}}</h1>
    <el-select v-model="value" placehoder="请选择">
        <el-option v-for="p in arr" :label="p.title" :value="p.price"></el-option>
    </el-select>

</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function () {
            return {
                value:"",
                arr:[{title:"小米手机",price:3000},
                    {title:"华为电视",price:4000},
                    {title:"联想电脑",price:5000}]
            }
        },
        methods:{

        }
    })
</script>
</html>